import request from '../utils/request'

// 获取邀约列表
export function getWorkList(data) {
  return request({
    url: '/applet/api/spp/qryWorkList',
    method: 'POST',
	data: data
  })
}

// 获取待我接单核销数量
export function getWorkListCount(data) {
  return request({
    url: '/applet/api/spp/qryWorkListCount',
    method: 'POST',
	data: data
  })
}

// 获取邀约详情
export function getYaoYueDetail(data) {
  return request({
    url: '/applet/api/spp/getApt',
    method: 'POST',
	data: data
  })
}


// 接单、拒绝接单
export function spAcceptApt(data) {
  return request({
    url: '/applet/api/spp/spAcceptApt',
    method: 'POST',
	data: data
  })
}
